package ca.etsmtl.log430.lab2.donnee.bean;

import java.util.ArrayList;


public class CourseBeanBuilder {
	/**
	 * Course title
	 */
	private  String courseName;

	/**
	 * Course ID
	 */
	private  String courseID;

	/**
	 * Course type (course = CRS, laboratory = LAB)
	 */
	private  String type;

	/**
	 * Course group
	 */
	private  String group;

	/**
	 * Day the course is held on
	 */
	private  String day;

	/**
	 * Start time of the course
	 */
	private  String startTime;

	/**
	 * Stop time of the course
	 */
	private  String stopTime;

	/**
	 * List of teachers assigned to the course 
	 */
	private  ArrayList<String> teachersAssigned ;

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public void setCourseID(String courseID) {
		this.courseID = courseID;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public void setStopTime(String stopTime) {
		this.stopTime = stopTime;
	}

	public void setTeachersAssigned(ArrayList<String> teachersAssigned) {
		this.teachersAssigned = teachersAssigned;
	}
	
	public CourseBean build()
	{
		CourseBean bean = new CourseBean(courseName,courseID,type,group,day,startTime,stopTime,teachersAssigned);
		
		return bean;
	}
	

}
